package com.pubinfo.passbook.common.service.contract;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pubinfo.passbook.common.entity.TContractInvoiceHeader;
import com.pubinfo.passbook.common.model.dto.contract.InvoiceData;
import com.pubinfo.passbook.common.model.dto.contract.TaxParam;
import com.pubinfo.passbook.common.model.vo.contract.TaxListVo;

import java.util.List;

/**
 * @author admin
 * @description 针对表【t_contract_invoice_header(发票凭证)】的数据库操作Service
 * @createDate 2021-12-06 14:45:14
 */
public interface TContractInvoiceHeaderService extends IService<TContractInvoiceHeader> {
  
  /**
   * 获取合同已开发票信息
   */
  List<TContractInvoiceHeader> getContractInvoice(Integer contractId);
  
  void saveInvoice(InvoiceData invoiceData);
  
  /**
   * 获取税金计提列表
   */
  IPage<TaxListVo> taxList(TaxParam param);
}
